/**
 * 
 */
package tr.edu.ozyegin.ccrg.wekaPerformanceRun.tests;

import static org.junit.Assert.assertNotNull;

import java.util.ArrayList;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import tr.edu.ozyegin.ccrg.wekaPerformanceRun.JobThread;
import tr.edu.ozyegin.ccrg.wekaPerformanceRun.WekaParallelJobRun;

/**
 * @author im1076
 *
 */
public class WekaParallelJobTestTest {

	/**
	 * @throws java.lang.Exception
	 */
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.WekaParallelJobRun#newJobThread(int)}.
	 */
	@Test
	public void testNewJobThread() {
		
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.newJobThread(10);
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.WekaParallelJobRun#WekaParallelJobTest()}.
	 */
	@Test
	public void testWekaParallelJobTest() {

		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		assertNotNull(wekaParallelJobTest);
	
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#setJobThreadList(java.util.List)}.
	 */
	@Test
	public void testSetJobThreadList() {

		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.setJobThreadList(new ArrayList<JobThread>());

	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#getJobThreadList()}.
	 */
	@Test
	public void testGetJobThreadList() {
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.setJobThreadList(new ArrayList<JobThread>());
		
		assertNotNull(wekaParallelJobTest.getJobThreadList());
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#setProcessExecutionAmount(int)}.
	 */
	@Test
	public void testSetProcessExecutionAmount() {
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.setProcessExecutionAmount(10);
		
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#getProcessExecutionAmount()}.
	 */
	@Test
	public void testGetProcessExecutionAmount() {
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.setProcessExecutionAmount(10);

		assertNotNull((Integer)wekaParallelJobTest.getProcessExecutionAmount());
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#setFinishedProcess(int)}.
	 */
	@Test
	public void testSetFinishedProcess() {
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		wekaParallelJobTest.setFinishedProcess(5);
	}

	/**
	 * Test method for {@link tr.edu.ozyegin.ccrg.wekaPerformanceRun.ParallelJobRun#getFinishedProcess()}.
	 */
	@Test
	public void testGetFinishedProcess() {
		
		WekaParallelJobRun wekaParallelJobTest = new WekaParallelJobRun();
		assertNotNull((Integer)wekaParallelJobTest.getFinishedProcess());
		

	}

}
